home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / PrinterClassDriver / •Print Chooser Sample / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  2000-04-25  |  745 b   |  32 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6.  
  7.  
  8.     Copyright:    © 1991-1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History:
  11.  
  12.         18 Mar 98     gp        Added
  13.  
  14.     To Do:
  15. */
  16.  
  17. #include "Chooser.h"
  18.  
  19. /**************************************************************************************
  20.     Note:    Main must get linked at the very beginning of the first file because
  21.             the jump table must be the first entry in the PACK resource. This
  22.             means that no headers that contain linked routines (eg, inlines)
  23.             can be included before this routine.
  24.  **************************************************************************************/
  25. asm void main(void);
  26. asm void main(void)
  27. {
  28.         // Jump Table
  29.         jmp        Chooser
  30. };
  31.  
  32.